package com.base.po.voip;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 充值记录
 * 
 * @author Administrator
 *
 */
public class Payinfoes {
	private String id; // id

	private String mobile;// 充值手机号

	private String cardno;// 卡号

	private String pwd;// 卡密

	private String parentid;// 代理商id

	private Boolean status;// 0提交1到账

	private Integer money;// 充值金额

	private Boolean datastatus;// 数据状态

	private Date paytime;// 充值时间

	private Integer type;// 充值类型 1话费卡/购物卡 2空中充值 3支付宝 4微信 5银联

	private String alistatus;// 支付状态 1提交 2成功

	private String ordernum; // 支付订单

	private String alimoney;// 支付金额

	private Integer cardtype;// 充值卡类型1话费卡2购物卡3一卡通4自定义卡

	private String userid;

	private Integer iswithdrawal;
	
	private Users users;//用户表

	private Rewards rewards;

	private Subscribers subscribers;

	private Integer retype;

	private Double integral;

	// muck
	private String muskuserid;

	private Integer ismusk;

	// add
	private BigDecimal countMoney;

	private Integer countNum;

	public Payinfoes() {
		super();
	}

	public Payinfoes(String mobile, String parentid, Boolean status, Boolean datastatus, Integer type,
			String alistatus) {
		super();
		this.mobile = mobile;
		this.parentid = parentid;
		this.status = status;
		this.datastatus = datastatus;
		this.type = type;
		this.alistatus = alistatus;
	}

	public Payinfoes(String id, String mobile, String parentid, Boolean status, Integer money,
					 Boolean datastatus, Date paytime, String alistatus, String alimoney) {
		super();
		this.id = id;
		this.mobile = mobile;
		this.parentid = parentid;
		this.status = status;
		this.money = money;
		this.datastatus = datastatus;
		this.paytime = paytime;
		this.alistatus = alistatus;
		this.alimoney = alimoney;
	}

	public Payinfoes(String id, String mobile, String cardno, String pwd, String parentid, Boolean status,
			Integer money, Boolean datastatus, Date paytime, Integer type, String alistatus, String ordernum,
			String alimoney, Integer cardtype) {
		super();
		this.id = id;
		this.mobile = mobile;
		this.cardno = cardno;
		this.pwd = pwd;
		this.parentid = parentid;
		this.status = status;
		this.money = money;
		this.datastatus = datastatus;
		this.paytime = paytime;
		this.type = type;
		this.alistatus = alistatus;
		this.ordernum = ordernum;
		this.alimoney = alimoney;
		this.cardtype = cardtype;
	}

	public Payinfoes(String id, String mobile, String cardno, String pwd, String parentid, Boolean status,
					 Integer money, Boolean datastatus, Date paytime, Integer type, String alistatus, String ordernum,
					 String alimoney, Integer cardtype, String userid) {
		super();
		this.id = id;
		this.mobile = mobile;
		this.cardno = cardno;
		this.pwd = pwd;
		this.parentid = parentid;
		this.status = status;
		this.money = money;
		this.datastatus = datastatus;
		this.paytime = paytime;
		this.type = type;
		this.alistatus = alistatus;
		this.ordernum = ordernum;
		this.alimoney = alimoney;
		this.cardtype = cardtype;
		this.userid = userid;
	}

	public Payinfoes(String id, String mobile, String cardno, String pwd, String parentid, Boolean status,
					 Integer money, Boolean datastatus, Date paytime, Integer type, String alistatus, String ordernum,
					 String alimoney, Integer cardtype, String userid, String muskuserid) {
		super();
		this.id = id;
		this.mobile = mobile;
		this.cardno = cardno;
		this.pwd = pwd;
		this.parentid = parentid;
		this.status = status;
		this.money = money;
		this.datastatus = datastatus;
		this.paytime = paytime;
		this.type = type;
		this.alistatus = alistatus;
		this.ordernum = ordernum;
		this.alimoney = alimoney;
		this.cardtype = cardtype;
		this.userid = userid;
		this.muskuserid = muskuserid;
	}

	public Payinfoes(String id, String mobile, String cardno, String pwd, String parentid, Boolean status,
					 Integer money, Boolean datastatus, Date paytime, Integer type, String alistatus, String ordernum,
					 String alimoney, Integer cardtype, String userid, Integer iswithdrawal) {
		super();
		this.id = id;
		this.mobile = mobile;
		this.cardno = cardno;
		this.pwd = pwd;
		this.parentid = parentid;
		this.status = status;
		this.money = money;
		this.datastatus = datastatus;
		this.paytime = paytime;
		this.type = type;
		this.alistatus = alistatus;
		this.ordernum = ordernum;
		this.alimoney = alimoney;
		this.cardtype = cardtype;
		this.userid = userid;
		this.iswithdrawal = iswithdrawal;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id == null ? null : id.trim();
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile == null ? null : mobile.trim();
	}

	public String getCardno() {
		return cardno;
	}

	public void setCardno(String cardno) {
		this.cardno = cardno == null ? null : cardno.trim();
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd == null ? null : pwd.trim();
	}

	public String getParentid() {
		return parentid;
	}

	public void setParentid(String parentid) {
		this.parentid = parentid == null ? null : parentid.trim();
	}

	public Boolean getStatus() {
		return status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	public Integer getMoney() {
		return money;
	}

	public void setMoney(Integer money) {
		this.money = money;
	}

	public Boolean getDatastatus() {
		return datastatus;
	}

	public void setDatastatus(Boolean datastatus) {
		this.datastatus = datastatus;
	}

	public Date getPaytime() {
		return paytime;
	}

	public void setPaytime(Date paytime) {
		this.paytime = paytime;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getAlistatus() {
		return alistatus;
	}

	public void setAlistatus(String alistatus) {
		this.alistatus = alistatus == null ? null : alistatus.trim();
	}

	public String getOrdernum() {
		return ordernum;
	}

	public void setOrdernum(String ordernum) {
		this.ordernum = ordernum == null ? null : ordernum.trim();
	}

	public String getAlimoney() {
		return alimoney;
	}

	public void setAlimoney(String alimoney) {
		this.alimoney = alimoney == null ? null : alimoney.trim();
	}

	public Integer getCardtype() {
		return cardtype;
	}

	public void setCardtype(Integer cardtype) {
		this.cardtype = cardtype;
	}

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public Integer getIswithdrawal() {
		return iswithdrawal;
	}

	public void setIswithdrawal(Integer iswithdrawal) {
		this.iswithdrawal = iswithdrawal;
	}

	public Users getUsers() {
		return users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public Subscribers getSubscribers() {
		return subscribers;
	}

	public void setSubscribers(Subscribers subscribers) {
		this.subscribers = subscribers;
	}

	public Rewards getRewards() {
		return rewards;
	}

	public void setRewards(Rewards rewards) {
		this.rewards = rewards;
	}

	public Integer getRetype() {
		return retype;
	}

	public void setRetype(Integer retype) {
		this.retype = retype;
	}

	public Double getIntegral() {
		return integral;
	}

	public void setIntegral(Double integral) {
		this.integral = integral;
	}

	public String getMuskuserid() {
		return muskuserid;
	}

	public void setMuskuserid(String muskuserid) {
		this.muskuserid = muskuserid;
	}

	public Integer getIsmusk() {
		return ismusk;
	}

	public void setIsmusk(Integer ismusk) {
		this.ismusk = ismusk;
	}

	public BigDecimal getCountMoney() {
		return countMoney;
	}

	public void setCountMoney(BigDecimal countMoney) {
		this.countMoney = countMoney;
	}

	public Integer getCountNum() {
		return countNum;
	}

	public void setCountNum(Integer countNum) {
		this.countNum = countNum;
	}

	@Override
	public String toString() {
		return "Payinfoes [id=" + id + ", mobile=" + mobile + ", cardno=" + cardno + ", pwd=" + pwd + ", parentid="
				+ parentid + ", status=" + status + ", money=" + money + ", datastatus=" + datastatus + ", paytime="
				+ paytime + ", type=" + type + ", alistatus=" + alistatus + ", ordernum=" + ordernum + ", alimoney="
				+ alimoney + ", cardtype=" + cardtype + "]";
	}
}